package com.thomas.framework.core;

import com.thomas.framework.utils.PageResult;

import java.util.List;

/**
 * Created by taohj on 2015/1/6.
 */
public interface IService<T extends  EntityBase> {

    public   boolean create(T t);

    public   boolean remove(T t);

    public   boolean modify(T t);

    public   T getById(T t);

    public   List<T> getList(T t);

    public   PageResult<T> getByPage(PageResult<T> pageResult);


    public abstract  T get(T t);
}
